import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/hazard_obligation_person_entity.g.dart';

export 'package:enterprise_v6_app/generated/json/hazard_obligation_person_entity.g.dart';

@JsonSerializable()
class HazardObligationPersonEntity {

	HazardObligationPersonEntity();

	factory HazardObligationPersonEntity.fromJson(Map<String, dynamic> json) => $HazardObligationPersonEntityFromJson(json);
	String? avatar = '';
	String? hazardCode = '';
	String? id = '';
	String? mobile = '';
	String? nickName = '';

	Map<String, dynamic> toJson() => $HazardObligationPersonEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
